package beans;

import java.util.List;

public class UpdatePage {
    private NewsLabel newsLabel;
    private List<NewsLabel> parents;

    @Override
    public String toString() {
        return "UpdatePage{" +
                "newsLabel=" + newsLabel +
                ", parents=" + parents +
                '}';
    }

    public NewsLabel getNewsLabel() {
        return newsLabel;
    }

    public void setNewsLabel(NewsLabel newsLabel) {
        this.newsLabel = newsLabel;
    }

    public List<NewsLabel> getParents() {
        return parents;
    }

    public void setParents(List<NewsLabel> parents) {
        this.parents = parents;
    }
}
